package com.lpf.testJVM;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

public class GenericTypes {
	public static String method(List<String> list) {
		System.out.println("invoke method(List<string> list)");
		return "";
	}

//	public static int method(List<Integer> list) {
//		System.out.println("invoke method(List<Integer> list)");
//		return 1;
//	}

	public static void main(String[] args) {
		method(new ArrayList<String>());
		//method(new ArrayList<Integer>());
		
		List<Integer> list = Arrays.asList(1,2,3,4);
		
		//List<Integer> list2 = [1,2,3,4];
		
		
	}
}